package com.ruoyi.system.service.impl;

import java.util.List;

import com.ruoyi.system.domain.ZhwyTemporarydeposit;
import com.ruoyi.system.service.IZhwyTemporarydepositService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.ZhwyPaymentbillMapper;
import com.ruoyi.system.domain.ZhwyPaymentbill;
import com.ruoyi.system.service.IZhwyPaymentbillService;

/**
 * 收费统计1Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-05-10
 */
@Service
public class ZhwyPaymentbillServiceImpl implements IZhwyPaymentbillService 
{
    @Autowired
    private ZhwyPaymentbillMapper zhwyPaymentbillMapper;


//
    @Override
    public List<ZhwyTemporarydeposit> getDepositSumGroupByFee(String beginTime, String endTime) {
        return zhwyPaymentbillMapper.selectDepositSumGroupByFee(beginTime,endTime);
    }

    /**
     * 查询收费统计1
     * 
     * @param id 收费统计1主键
     * @return 收费统计1
     */
    @Override
    public ZhwyPaymentbill selectZhwyPaymentbillById(String id)
    {
        return zhwyPaymentbillMapper.selectZhwyPaymentbillById(id);
    }

    /**
     * 查询收费统计1列表
     * 
     * @param zhwyPaymentbill 收费统计1
     * @return 收费统计1
     */
    @Override
    public List<ZhwyPaymentbill> selectZhwyPaymentbillList(ZhwyPaymentbill zhwyPaymentbill)
    {
        return zhwyPaymentbillMapper.selectZhwyPaymentbillList(zhwyPaymentbill);
    }

    /**
     * 新增收费统计1
     * 
     * @param zhwyPaymentbill 收费统计1
     * @return 结果
     */
    @Override
    public int insertZhwyPaymentbill(ZhwyPaymentbill zhwyPaymentbill)
    {
        return zhwyPaymentbillMapper.insertZhwyPaymentbill(zhwyPaymentbill);
    }

    /**
     * 修改收费统计1
     * 
     * @param zhwyPaymentbill 收费统计1
     * @return 结果
     */
    @Override
    public int updateZhwyPaymentbill(ZhwyPaymentbill zhwyPaymentbill)
    {
        return zhwyPaymentbillMapper.updateZhwyPaymentbill(zhwyPaymentbill);
    }

    /**
     * 批量删除收费统计1
     * 
     * @param ids 需要删除的收费统计1主键
     * @return 结果
     */
    @Override
    public int deleteZhwyPaymentbillByIds(String[] ids)
    {
        return zhwyPaymentbillMapper.deleteZhwyPaymentbillByIds(ids);
    }

    /**
     * 删除收费统计1信息
     * 
     * @param id 收费统计1主键
     * @return 结果
     */
    @Override
    public int deleteZhwyPaymentbillById(String id)
    {
        return zhwyPaymentbillMapper.deleteZhwyPaymentbillById(id);
    }
}
